while True:
    height = float(input('请输入身高：(m)'))
    weight = float(input('请输入体重：(kg)'))
    BMI = weight / (height * height)
    print('BMI指数：',BMI)

    if BMI < 18.5:
        print('体重过轻')
    elif BMI < 25 and BMI >= 18.5:
        print('体重正常')
    elif BMI < 28 and BMI >= 25:
        print('过重')
    elif BMI < 32 and BMI >= 28:
        print('肥胖')
    elif BMI >= 32:
        print('严重肥胖')
